package com.cxh.supermarket.system.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.cxh.supermarket.common.core.validate.AddGroup;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 导入招工信息跟用户信息对象
 *
 * @author lly
 * @create 2024/3/28 16:22
 */
@Data
@NoArgsConstructor
public class RecruitImportVo implements Serializable {
  private static final long serialVersionUID = 1L;

  /**
   * 手机号
   */
  @NotEmpty(message = "手机号不能为空", groups = AddGroup.class)
  @ExcelProperty(value = "手机号")
  private String phonenumber;

  /**
   * 姓名
   */
  @ExcelProperty(value = "姓名")
  private String nickName;

  /**
   * 工种（多填）
   */
  @ExcelProperty(value = "工种（多填）")
  private String jobType;

  /**
   * 工价
   */
  @ExcelProperty(value = "工价")
  private String price;

  /**
   * 工作地址
   */
  @NotEmpty(message = "工作地址不能为空", groups = AddGroup.class)
  @ExcelProperty(value = "工作地址")
  private String address;

  /**
   * 招工详情
   */
  @ExcelProperty(value = "招工详情")
  private String introduce;

  /**
   * 预估开工日期
   */
  @ExcelProperty(value = "开始时间")
  private String startTime;

  /**
   * 预估结束日期
   */
  @ExcelProperty(value = "结束时间")
  private String endTime;

}
